<template>
	
 	<div class="layui-layout layui-layout-admin" >
 	  <div class="adminnav1">	
        <Pagetop></Pagetop>
      </div>
      <div class="adminnav2">	
       	<Secondnav urlname="order"></Secondnav>
      </div>
      
      <!-- 主体内容 -->
      <div class="layui-body kedou-admin" id="LAY_app_body" v-show="isshow == 1" style="display:none">
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-card-body layui-row">			    
			    <div class="layui-col-xs6">			    	
				      <div class="grid-demo">
				      	<router-link to="/xforder">
				      		<dl>
				      			<dt><img src="./../assets/img06.png"></dt>
				      			<dd>消费订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				    
			    </div>
			    <div class="layui-col-xs6" >			    	
				      <div class="grid-demo">
				      	<router-link to="/scorder">
				      		<dl>
				      			<dt><img src="./../assets/img14.png"></dt>
				      			<dd>商城订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				   
			    </div>			     			   
			  </div>
			</div>
		</div>       
      </div>

	  <div class="layui-body kedou-admin" id="LAY_app_body" v-show="isshow == 2" style="display:none">
		<div class="layui-fluid">
			<div class="layui-card">
				<div class="layui-card-body layui-row">			    
			    <div class="layui-col-xs6">			    	
				      <div class="grid-demo">
				      	<router-link to="/xforder">
				      		<dl>
				      			<dt><img src="./../assets/img06.png"></dt>
				      			<dd>消费订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				    
			    </div>
			    <div class="layui-col-xs6" >			    	
				      <div class="grid-demo">
				      	<router-link to="/scorder">
				      		<dl>
				      			<dt><img src="./../assets/img14.png"></dt>
				      			<dd>(易)商城订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				   
			    </div>

				<div class="layui-col-xs6" >			    	
				      <div class="grid-demo">
				      	<router-link to="/ucorder">
				      		<dl>
				      			<dt><img src="./../assets/img33.png"></dt>
				      			<dd>(UC)商城订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				   
			    </div>	

				<div class="layui-col-xs6" >			    	
				      <div class="grid-demo">
				      	<router-link to="/wucorder">
				      		<dl>
				      			<dt><img src="./../assets/img34.png"></dt>
				      			<dd>(WUC)商城订单</dd>
				      		</dl>
				      	</router-link>		
				      </div>				   
			    </div>			     			   
			  </div>
			</div>
		</div>       
      </div>
	     
	</div>
</template>
<script>	
//	import echarts from 'echarts'
	import Pagetop from './common/pagetop.vue'
	import Secondnav from './common/secondnav.vue'
	export default {
	  name: 'order',
	  components: {Pagetop,Secondnav},	  
	  data () {
	    return {
	        title: webtitle,
      		isshow: ""	
	    }
	  },
	  mounted(){ 	
	  	this.getdate();
	  },
	  methods: {	 	  
		getdate: function() {
      var _this = this;
      if (_this.title != "物格码") {
        _this.isshow = 1;
      } else {
        _this.isshow = 2;
      }
      // alert(JSON.stringify(_this.title))
    }
	  },
	  updated:function(){
  		this.isShow = true;
  		layui.use('form', function(){
		  var form = layui.form;
		  form.render();
		 
		});
 	  },
	}
</script>
<style scoped>
/*二级导航*/

</style>
